The data device manager is a global object that provides the support
infrastructure around data devices. These data device objects are the basis
for handling drag and drop as well as selections in Wayland.
input = wl_display_bind(display, id, &wl_input_device_interface);
_gdk_wayland_device_manager_add_device (gdk_display->device_manager,
input);
+ } else if (strcmp(interface, "wl_data_device_manager") == 0) {
+ display_wayland->data_device_manager =
+ wl_display_bind(display, id,
+ &wl_data_device_manager_interface);
}
}
struct wl_shell *shell;
struct wl_output *output;
struct wl_input_device *input_device;
+ struct wl_data_device_manager *data_device_manager;
GSource *event_source;
EGLDisplay egl_display;
EGLContext egl_context;